//获取订单列表
export function fetchList() {
  let data = {
    "code": 200,
    "message": "操作成功",
    "data": {
      "pageNum": 1,
      "pageSize": 10,
      "totalPage": 2,
      "total": 15,
      "list": [{
        "id": 12,
        "userId": 1,
        "couponId": 2,
        "orderSn": "201809150101000001",
        "createTime": 1582772171,
        "shopName":'官方旗舰店',
        "userName": "test",
        "totalAmount": 18732.00,
        "payAmount": 16377.75,
        "freightAmount": 20.00,
        "promotionAmount": 2344.25,
        "bounsAmount":2.00,
        "integrationAmount": 0.00,
        "couponAmount": 10.00,
        "discountAmount": 10.00,
        "payType": 0,
        "sourceType": 1,
        "goods":[{
          'id':4567898,
          'goodsName':"雅瑞利护肤水保护面膜..",
          'goodsSn':'7437788',
          'img':'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
        }],
        "address":"广州白云区福泰西路春辉院",
        "receivePhone":19925798727,
        "status": 4,
        "orderType": 0,
        "deliveryCompany": "",
        "deliverySn": "",
        "autoConfirmDay": 15,
        "integration": 13284,
        "growth": 13284,
        "promotionInfo": "单品促销,打折优惠：满3件，打7.50折,满减优惠：满1000.00元，减120.00元,满减优惠：满1000.00元，减120.00元,无优惠",
        "billType": null,
        "billHeader": null,
        "billContent": null,
        "billReceiverPhone": null,
        "billReceiverEmail": null,
        "receiverName": "大梨",
        "receiverPhone": "18033441849",
        "receiverPostCode": "518000",
        "receiverProvince": "江苏省",
        "receiverCity": "常州市",
        "receiverRegion": "天宁区",
        "receiverDetailAddress": "东晓街道",
        "note": "111",
        "confirmStatus": 0,
        "deleteStatus": 0,
        "useIntegration": null,
        "paymentTime": 1582772171,
        "deliveryTime": null,
        "receiveTime": null,
        "receiveName":"曾哥",
        "commentTime": null,
        "modifyTime": 1582772171
      }]
    }
  }
  return {
    url: 'user/order/fetchList',
    type: 'post',
    data: data
  }

}
